﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace SMS.Domain.Entities
{
    //Se crean las propiedades propias del usuario Ong.
    public class UserSMS:Auditable
    {
        public int UserId { get; set; }
        [StringLength(100)]
        [Required()]
        public String Email { get; set; }
        [StringLength(250)]
        [Required()]
        public String Nombre { get; set; }
        [StringLength(100)]
        public string Foto { get; set; }
        [StringLength(100)]
        public string Empresa { get; set; }

        [StringLength(50)]
        public string Pais { get; set; }

        [StringLength(50)]
        public string Ciudad { get; set; }

        [StringLength(250)]
        public string SobreTi { get; set; }

        [Required()]
        public bool AceptaPolitica { get; set; }

        //Propiedades de Navagación.
        public virtual ICollection<UserOng> UsersOng { get; set; }
        public virtual ICollection<Respuesta> Respuestas { get; set; }
        public virtual ICollection<RespuestaValoracion> Valoraciones { get; set; }
    }
}
